home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
031-040
/
amok32
/
tasksupport
/
tasksupport.def
next >
Wrap
Text File
|
1993-11-04
|
1KB
|
35 lines
(**********************************************************************
:Program. TaskSupport.def
:Contents. multitasking, creates true Dos-processes
:Support. Bernd Preusing's module "MultiTasking" helped me a lot!
:Author. Nicolas Benezan [bne]
:Address. Postwiesenstr. 2, D7000 Stuttgart 60
:Phone. 711/333679
:Copyright. Public Domain
:Language. Modula-2
:Translator. M2Amiga A+L V3.27d
:History. V1.0 [bne] 09.Jan.1990 (exec tasks only)
:History. V1.1 [bne] 10.Jan.1990 (+ dos processes)
**********************************************************************)
DEFINITION MODULE TaskSupport;
FROM Exec IMPORT Byte, TaskPtr;
FROM SYSTEM IMPORT ADDRESS;
TYPE
TaskProc = PROCEDURE (ADDRESS);
PROCEDURE CreateTask (Proc: TaskProc;
InitArg: ADDRESS;
Name: ADDRESS;
StackSize: LONGINT;
Priority: Byte): TaskPtr;
PROCEDURE DeleteTask (Task: TaskPtr);
END TaskSupport.